@include("system::admin.layouts._header")
<body>
<div class="layuimini-container">
    <div class="layuimini-main" id="app">

        <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
            <ul class="layui-tab-title">
                <li class="layui-this">七牛存储设置</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <form id="app-form" class="layui-form layuimini-form" method="post">
                        @csrf
                        <div class="layui-form-item">
                            <label class="layui-form-label required">access</label>
                            <div class="layui-input-block">
                                <input type="text" name="qn_access" class="layui-input" lay-verify="required" placeholder="请输入access" value="{{$systemConfig['qn_access'] ?? ''}}">
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label required">secret</label>
                            <div class="layui-input-block">
                                <input type="text" name="qn_secret" class="layui-input" lay-verify="required" placeholder="请输入secret" value="{{$systemConfig['qn_secret'] ?? ''}}">
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label required">bucket</label>
                            <div class="layui-input-block">
                                <input type="text" name="qn_bucket" class="layui-input" placeholder="请输入bucket" value="{{$systemConfig['qn_bucket'] ?? ''}}">
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label required">自定义域名</label>
                            <div class="layui-input-block">
                                <input type="text" name="qn_url" class="layui-input" placeholder="请输入自定义域名" value="{{$systemConfig['qn_url'] ?? ''}}">
                                <tip>需包含 http/https</tip>
                            </div>
                        </div>

                        <div class="hr-line"></div>
                        <div class="layui-form-item text-center">
                            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
                            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
                        </div>

                    </form>
                </div>

            </div>
        </div>

    </div>
</div>
</body>
</html>
